-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Tooltip] Fix onMouseOver event leak #18687
[Tooltip] Fix onMouseOver event leak #18687
Conversation
Details of bundle changes.Comparing: 1073d82...ddf53d8
|
e3a157e
to
5160354
Compare
@r3dm1ke Thanks, I have tried to push this effort a bit further. I think that it's good enough to land :). |
5160354
to
ddf53d8
Compare
Thank you |
</Tooltip>, | ||
); | ||
fireEvent.mouseOver(getByRole('tooltip')); | ||
expect(handleMouseOver.callCount).to.equal(0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What a nice test case, thanks!
Note: This didn't fix the underlying issue. We should've checked the codesandbox: https://codesandbox.io/s/dazzling-rain-7vx5l. The Tooltip is no longer hoverable in that demo. |
Fixes #18679